package com.yami.shop.bean.event;

import com.yami.shop.bean.param.SendUserDropsParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 * 空投成功的事件
 *
 * @author
 */
@Data
@AllArgsConstructor
public class AirDropSuccessEvent {

    @Schema(description = "用户id列表")
    private List<String> userIds;

    @Schema(description = "空投的商品列表")
    private List<SendUserDropsParam> drops;

    @Schema(description = "空投业务类型 1：店铺人工空投 2：任务空投 3:权益空投 4：邀请、拉新空投")
    private Integer businessType;

    @Schema(description = "店铺Id，平台默认为0")
    private Long shopId;

    @Schema(description = "空投给用户物品类型 0：商品 1：盲盒 2：商品优先购资格 3：盲盒优先购资格")
    private Integer type;

    @Schema(description = "空投业务Id")
    private Long airdropBusinessId;

    @Schema(description = "空投证书权益中权益关联的主商品ID --- 仅用与空投证书NFT时替换证书中数据")
    private Long mainProdId;

}
